#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

#include <stdlib.h>
int cmp(const void* n1, const void* n2)
{
	return *(int*)n1 - *(int*)n2;
}
int main()
{
	int arr[3];
	int i = 0;
	for (i = 0; i < 3; i++)
		scanf("%d", &arr[i]);
	qsort(arr, 3, sizeof(int), cmp);
	for (i = 0; i < 3; i++)
		printf("%d ", arr[i]);
	return 0;
}